<%-- 
    Document   : modificaConsejo
    Created on : 10/06/2009, 08:22:37 PM
    Author     : WILLIAM GASTAÑUEDI
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="r" uri="http://richfaces.ajax4jsf.org/rich" %>

<script language="javascript" src="../js/funciones.js"></script>
<link href="/colegiatura/Estilos/estilosEsymons.css" rel="stylesheet" type="text/css" />

<f:view>
<h:form>
<table width="100%" border="0">
  <tr>
    <td align="left" class="texto3">
        <h:outputLabel value="Mantenimiento de Consejo Departamental" styleClass="texto3"/></td>
  </tr>
  <tr><td>
  <fieldset>
      <legend>Registrar Consejo</legend>
      <table width="700" border="0">
       <tr>
    <td width="130" height="28">&nbsp;</td>
    <td width="140" align="left"><h:outputLabel value="Abreviatura :" styleClass="texto20" /> </td>
    <td colspan="4" align="left"><h:inputText value="#{consejoController.consejo.cdeAbreviatura}" size="30" styleClass="fondo012" /></td>
  </tr>
  <tr>
    <td width="130" height="28">&nbsp;</td>
    <td width="140" align="left"><h:outputLabel value="Consejo Departamental :" styleClass="texto20" /> </td>
    <td colspan="4" align="left"><h:inputText value="#{consejoController.consejo.cdeDescripcion}" size="50" styleClass="fondo012" /></td>
  </tr>
  <tr>
    <td height="28">&nbsp;</td>
    <td width="140" align="left"><h:outputLabel value="Fecha Fundación :" styleClass="texto20" /> </td>
    <td colspan="4" align="left">
        <r:calendar value="#{consejoController.consejo.cdefechaFundacion}"
         datePattern="dd/MM/yyyy" cellWidth="15" styleClass="cajaCentrada" inputClass="cajaCentrada" />
        <%--t:inputCalendar value="#{consejoController.consejo.cdefechaFundacion}" styleClass="fondo012"
            popupDateFormat="dd/MM/yyyy" popupTodayString="Hoy día es:" renderAsPopup="true" renderPopupButtonAsImage="true"/--%></td>
  </tr>
    <tr>
    <td height="30">&nbsp;</td>
    <td width="140" align="left"><h:outputLabel value="Estado :" styleClass="texto20" /> </td>
    <td colspan="4" align="left">
        <h:selectOneMenu value="#{consejoController.consejo.cdeEstado}" styleClass="fondo012">
         <f:selectItem itemLabel="----Estado----"/>
         <f:selectItem itemLabel="Activo" itemValue="1"/>
         <f:selectItem itemLabel="Inactivo" itemValue="0" />
     </h:selectOneMenu></td>
  </tr>
  <tr>
      <td colspan="6" height="23" ></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="4" align="center">
	  <h:commandButton action="#{consejoController.editar}" value="Guardar" styleClass="enlace9" />
        <h:commandButton action="#{consejoController.listar}" value="Cancelar" styleClass="enlace9" /></td>
    </tr>
      </table>
  </fieldset> </td>
  </tr>
  
</table>
</h:form>
</f:view>

